package com.ailot.cloud.upms.api.service;


import com.ailot.cloud.upms.common.entity.SysColumn;
import com.ailot.cloud.upms.common.entity.SysGen;
import com.ailot.cloud.upms.common.entity.SysTable;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @Author : litao
 * @create 2023/12/6 14:49
 */
public interface SysGenService extends IService<SysGen> {

    List<SysTable> list(String tableName, String datasourceId);

    Map<String, String> view(SysGen sysGen);

    Map<String, String> generatorCode(SysGen sysGen, SysTable sysTable, List<SysColumn> sysColumns);
}
